function appComment(data) {
    $('comment').append(templatesComment(data));
}

function templatesComment(data) {
    let temp = "";
    data.forEach(comment => temp += `
        <div class="row rounded-border">
            <div class="col-md-2 user-info">
                <img src="${comment.user.portrait}" alt="tou"
                     class="img-thumbnail img-responsive">
                <div class="text-center">${comment.user.nickName}</div>
            </div>
            <div class="col-md-10 ck-content" style="padding: 35px">
                <div class="row " style="margin-bottom: 20px;padding: 20px">
                    <div class="ck-content">${comment.content}</div>
                </div>
            </div>
        </div>
        `);
    return temp;
}
